package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.Order;

import java.util.Map; /**
 * @author 黑马程序员
 * @Company http://www.ithiema.com
 * @Version 1.0
 */
public interface OrderService {
    Result addOrder(Map<String, Object> map);

    Map<String,Object> findById(Integer id);

    PageResult findOrderListByPage(QueryPageBean queryPageBean);


    void edit(Map<String, Object> map);

    void delOrderById(int id);
}
